package com.ruibang.glass.produce.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;


@Data
@TableName("total_equ_data")
public class TotalEquData implements Serializable {

    @TableField(value = "CustomerPanelId")
    private String customerPanelId;
    @TableField(value = "CustomerBatchId")
    private String customerBatchId;
    @TableField(value = "MachineId")
    private String machineId;
    @TableField(value = "DefectCount")
    private long defectCount;
    @TableField(value = "StartTime")
    private LocalDateTime startTime;
    @TableField(value = "DefectName")
    private String defectName;
    @TableField(value = "TiltedSizeLengthMM")
    private double tiltedSizeLengthMM;
    @TableField(value = "TiltedSizeWidthMM")
    private double tiltedSizeWidthMM;
    @TableField(value = "MaterialCenterDW")
    private double materialCenterDW;
    @TableField(value = "MaterialCenterCW")
    private double materialCenterCW;
    @TableField(value = "TiltedSize")
    private double tiltedSize;
    @TableField(value = "TiltedDepth")
    private double tiltedDepth;
    @TableField(value = "TiltedDiv")
    private double tiltedDiv;
    @TableField(value = "is_read")
    private int isRead;
    @TableField(value = "comment")
    @ApiModelProperty("致命缺陷")
    private String comment;
    @ApiModelProperty("0:半成品，1:成品")
    @TableField(value = "is_finished")
    private int isFinished;

}
